Pronamic\WordPress\Pay\Plugin C

Total Complexity 118
Dependencies 42
Dependents 55
Total lines 1,678
Lines of code 764
Logical lines of code 466
Comment lines 498
Methods 27
Properties 24

Methods 27

Method Rating Maintainability Complexity Lines of code
complement_payment()
C
36 24 75
register_payment_methods()
B
23
1 275
start_payment()
A
41 10 56
update_payment()
A
49 9 32
maybe_redirect()
A
51 9 27
pronamic_service()
A
46 7 38
plugins_loaded()
A
43 6 46
process_payment_post_data()
S
53 7 23
handle_returns()
S
51 6 27
__construct()
S
48 5 33
get_config_select_options()
S
53 5 22
get_gateway()
S
57 4 16
create_refund()
S
54 3 21
is_debug_mode()
S
68 3 7
get_default_config_id()
S
64 3 10
instance()
S
71 2 6
register_styles()
S
65 2 9
get_number_payments()
S
67 2 8
get_option()
S
71 2 6
render_exception()
S
80 1 3
get_default_error_message()
S
79 1 3
get_plugin_dir_path()
S
80 1 3
get_file()
S
81 1 3
get_version()
S
82 1 3
get_payment_methods()
S
80 1 3
payment_redirect_url()
S
72 1 5
datetime_format()
S
75 1 4